home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of www.BestZips.com (Collector's Edition)
/
Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO
/
mktsales
/
xfile100.zip
/
COLORS.TXT
< prev
next >
Wrap
Text File
|
1997-02-16
|
3KB
|
74 lines
α┌────────────────────────────────────┐
α│ │αß█
α│ X-Filer │αß█
α│ │αß█
α│ How to add color to your EXEs │αß█
α│ │αß█
α└────────────────────────────────────┘αß█
ß▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ß
ΓWow! πColor!
If you compile this ΓCOLOR.TXT file into an EXE, and then run the
EXE, you will notice that certain lines and blocks of characters
Γstand out from the rest of the document. This is because color
codes have been used throughout this document to add Γemphasis to
certain areas.
Color codes are single characters that πYOU must add to the your TXT
files ΓPRIOR TO compiling them into an EXE.
Although there are only 5 color codes at this time, you can spruce up
your documents nicely with them.
The color codes are added into your TXT files by using the πALT key
in conjunction with your numeric keypad. The numeric keypad is the
group of keys at the far right of your keyboard ß(see example below):
α┌───┬───┬───┐
α│ 7 │ 8 │ 9 │
α├───┼───┼───┤
α│ 4 │ 5 │ 6 │
α├───┼───┼───┤
α│ 1 │ 2 │ 3 │
α├───┴───┼───┤
α│ 0 │ . │
α└───────┴───┘
For instance, the first color code we will introduce you to is the
Γalpha character. It is created by holding down the αALT key with
your left hand, and while πSTILL HOLDING THE ALT KEY DOWN press Γ224
on the numeric keypad. Then release the αALT key. What you will see
appear is a Greek Γalpha character. What does this special character
do? It causes all characters on the same line following itself to be
displayed with black text on a gray background ß(see the numeric
keypad above for an example).
The color code will be in affect for the entire line. Once the end of
the line is reached, the color code is automatically turned off.
Should you want to turn the color code off ΓPRIOR TO the end of the
line, then use the αALT + α1 key code (the resulting character will
look like a smiley face).
Other color codes include αALT + α225 (which produces ßblack on
ßblue), αALT + α226 (which produces Γbright white on blue) and
αALT + α227 (which produces πbright red on blue).
That's all there is to it! With these color codes you can make your
text come πALIVE!
Although not a color code, you can create a horizontal line in your
compiled EXE by adding a αALT + α12 in your document like the one
above and below.
Enjoy!